<template>
  <div class="not-found">
    <h1>404</h1>
    <h2>很抱歉，您访问的页面不存在！</h2>
    <p>请检查您输入的 URL 是否正确，或者点击以下按钮返回电管智汇首页。</p>
    <router-link to="/datashow/machinedata" class="btn">返回首页</router-link>
  </div>
</template>

<script>
export default {
  name: "NotFound"
};
</script>

<style scoped>
.not-found {
  text-align: center;
  padding-top: 80px;
}

h1 {
  font-size: 180px;
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #2c3e50;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: bold;
  letter-spacing: -10px;
  text-shadow: 2px 2px 4px #ccc;
}

h2 {
  font-size: 32px;
  font-weight: normal;
  margin-top: 40px;
  color: #2c3e50;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-shadow: 2px 2px 4px #ccc;
}

p {
  margin-top: 20px;
  font-size: 18px;
  color: #999;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.btn {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #2980b9;
  box-shadow: 2px 2px 4px #ccc;
  transition: background-color ease-in-out 0.3s;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.btn:hover {
  background-color: #2c3e50;
}
</style>
